class Student:
    name = "张三"

    @staticmethod
    def test():
        print(Student.name)
        Student.test2()

    @classmethod
    def test2(cls):
        print("222")

Student.test()
s =  Student()
s.test()